package com.linhz.Demo05.Writer;

import java.io.FileWriter;
import java.io.IOException;

/*
    -void write
    java.io.FileWriter extends OutputStreamWriter extends Writer
 */
public class Demo01Writer {
    public static void main(String[] args) throws IOException {
        FileWriter fw = new FileWriter("Files/test.txt");
        fw.write(97);
        fw.flush();
        fw.write(98);
        fw.close();
    }
}
